package com.itheima.polymorphsm1;

public class Animal {
    public String name = "动物";
    public void eat(){
        System.out.println("Animal eat");
    }

    public void sleep(){
        System.out.println("Animal sleep");
    }

    public void run(){
        System.out.println("Animal run");
    }
}
